package com.example.mysports.data

import com.example.mysports.R
import com.example.mysports.model.Sport

object LocalSportsDataProvider {
//    val defaultSport = getSportsList().first()

    private val sports = listOf(
        Sport(
            id = 1,
            title = R.string.baseball,
            subtitle = R.string.sports_list_subtitle,
            playerCount = 9,
            olympic = true,
            icon = R.drawable.ic_baseball_square,
            banner = R.drawable.ic_baseball_banner,
            details = R.string.sport_detail_text
        ),
        Sport(
            id = 2,
            title = R.string.badminton,
            subtitle = R.string.sports_list_subtitle,
            playerCount = 1,
            olympic = true,
            icon = R.drawable.ic_badminton_square,
            banner = R.drawable.ic_badminton_banner,
            details = R.string.sport_detail_text
        ),
        Sport(
            id = 3,
            title = R.string.basketball,
            subtitle = R.string.sports_list_subtitle,
            playerCount = 5,
            olympic = true,
            icon = R.drawable.ic_basketball_square,
            banner = R.drawable.ic_basketball_banner,
            details = R.string.sport_detail_text
        ),
        Sport(
            id = 4,
            title = R.string.bowling,
            subtitle = R.string.sports_list_subtitle,
            playerCount = 1,
            olympic = false,
            icon = R.drawable.ic_bowling_square,
            banner = R.drawable.ic_bowling_banner,
            details = R.string.sport_detail_text
        ),
        Sport(
            id = 5,
            title = R.string.cycling,
            subtitle = R.string.sports_list_subtitle,
            playerCount = 1,
            olympic = true,
            icon = R.drawable.ic_cycling_square,
            banner = R.drawable.ic_cycling_banner,
            details = R.string.sport_detail_text
        ),
        Sport(
            id = 6,
            title = R.string.golf,
            subtitle = R.string.sports_list_subtitle,
            playerCount = 1,
            olympic = false,
            icon = R.drawable.ic_golf_square,
            banner = R.drawable.ic_golf_banner,
            details = R.string.sport_detail_text
        ),
        Sport(
            id = 7,
            title = R.string.running,
            subtitle = R.string.sports_list_subtitle,
            playerCount = 1,
            olympic = true,
            icon = R.drawable.ic_running_square,
            banner = R.drawable.ic_running_banner,
            details = R.string.sport_detail_text
        ),
        Sport(
            id = 8,
            title = R.string.soccer,
            subtitle = R.string.sports_list_subtitle,
            playerCount = 11,
            olympic = true,
            icon = R.drawable.ic_soccer_square,
            banner = R.drawable.ic_soccer_banner,
            details = R.string.sport_detail_text
        ),
        Sport(
            id = 9,
            title = R.string.swimming,
            subtitle = R.string.sports_list_subtitle,
            playerCount = 1,
            olympic = true,
            icon = R.drawable.ic_swimming_square,
            banner = R.drawable.ic_swimming_banner,
            details = R.string.sport_detail_text
        ),
        Sport(
            id = 10,
            title = R.string.table_tennis,
            subtitle = R.string.sports_list_subtitle,
            playerCount = 1,
            olympic = true,
            icon = R.drawable.ic_table_tennis_square,
            banner = R.drawable.ic_table_tennis_banner,
            details = R.string.sport_detail_text
        ),
        Sport(
            id = 11,
            title = R.string.tennis,
            subtitle = R.string.sports_list_subtitle,
            playerCount = 1,
            olympic = true,
            icon = R.drawable.ic_tennis_square,
            banner = R.drawable.ic_tennis_banner,
            details = R.string.sport_detail_text
        )
    )

    fun getSportsList(): List<Sport> {
        return sports
    }
}